He was a man who built his reputation as a cautious political insider, the Great Compromiser, but in his final years, he took a spirited and principled stand against slavery.